:root{
    --bs-input-icon:var(--bs-gray-600);
    --bs-disabled-color:var(--bs-gray-300);
    --bs-field-padding:0.25em;
}
.btn,
.input-group-text,
.form-control{
    border-radius: var(--bs-border-radius);
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::placeholder {
    color: var(--bs-tertiary-color);
    opacity: 1;
}

.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.25);
}

.was-validated .form-control:invalid, .form-control.is-invalid,
.was-validated .form-control:valid, .form-control.is-valid{
    background-image: none;
}
.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
    border-color: var(--bs-success);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-success-rgb), 0.25);
}

.dropdown-box
{
    position: absolute;
    z-index: 10000;
    transition: all 0.2s;
    background-color: #FFFFFF; 
    border-radius: 5px;
    min-height: 20px;
    min-width: 150px;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.1);
    visibility: hidden;
    transition: transform 0.3s,opacity 0.3s;
    transform:translateY(20px);
    opacity:0.8;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    max-height: 50vh;
}
.dropdown-mask{
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

.dropdown-box.big{
    width: 300px;
    border-radius: 10px;
}

.dropdown-box.max{
    width: 600px;
    border-radius: 15px;
}

.dropdown-box.dropdown-show{
    opacity: 1;
    visibility:visible;
    transform:translateY(0px);
    
}

.dropdown-box.dropdown-hide{
    display: none;
}

.dropdown-box.dropdown-tohide{
    opacity: 0;
    visibility:visible;
    transform:translateY(20px);
}


.dropdown-box .dropdown-item{
    cursor: pointer;
}

.bi-message{
    min-height:50px;
}

.bi-badge{
    position: relative;
}

.bi-badge .bi-badge-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bi-badge .bi-badge-text{
    font-size: 12px;
    padding: 3px;
    color: #FFFFFF;
    border-radius: 3px;
    opacity: 0.9;
}

.bi-badge .bi-badge-left{
    position: absolute;
    left: 0;
    top: 0;
    transform:  scale(0.7,0.7) translate(-50%,-50%);
}

.bi-badge .bi-badge-right{
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(0.7,0.7) translate(50%,-50%);
}
 

.form-check-input{
    border-color:var(--bs-gray-500);
}

.bi-form-row  .form-item >  .form-item-content > .bi-radio{
    padding-top: 10px;
}

.bi-form-row  .form-item >  .form-item-content > .bi-checkbox{
    padding-top: 10px;
}

.bi-form-row   .form-item >  .form-item-content > .bi-switch{
    padding-top: 10px;
}


